package com.senven.settled.feign;

import com.senven.common.entity.Branch;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author wt
 * @Date 2022/9/7 19:19
 * @PackageName:com.senven.settled.feign
 * @ClassName: BranchFeign
 * @Description: TODO
 * @Version 1.0
 */
@FeignClient(value = "senven-orderfood-branch")
public interface BranchFeign {
    @PostMapping("/api/branch/insertBranch")
    public int insertBranch(@RequestBody Branch branch);
}
